package com.zzl.bonds.ticket.dto.feign;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author sunpp
 * @date 2021-11-12 20:37:38
 */
@Data
@ApidocModel
public class ApprovalAddDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "审批类型不能为 空")
    @ApidocModelProperty(description = "1 开立审批 2 开立撤销 3兑付审批  4 兑付撤销")
    private String approvalType;
    @ApidocModelProperty(description = "消息")
    private String msg ;
    @ApidocModelProperty(description = "签收方的企业id,当发起签收流程时，传入的值应该是签收方的企业id")
    private String enterpriseId;

    @ApidocModelProperty(description = "对应的审批流程id 如转让申请单id 开立申请单id")
    private String applyId;

    @ApidocModelProperty(description = "1，开立申请 2，转让申请，3，融资申请")
    @NotEmpty(message = "applyType不能为空")
    private String applyType;
}
